package com.kyrioscraft.cloud.webflux.webfluxlab;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import reactor.core.publisher.Mono;

/**
 * @Author kyrioscraft
 * @Date 2018/12/24 13:16
 * @Description //TODO
 **/
@RestController
public class TestController {

    @GetMapping("/test")
    public Mono<String> test() {
        return Mono.just("Welcome reactive");
    }
}
